<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        .main{
            width: 300px;
            height: 300px;
            background-color: #999999;
            display: flex;
            flex-flow: row wrap;
            /*justify-content: flex-start;*/
            /*align-items: flex-start;*/
            /*gap: 20px 30px;*/
            row-gap: 20px;
            column-gap: 30px;
        }
        .main div{
            background-color: skyblue;
            border: 1px solid #000000;
            box-sizing: border-box;
            width: 100px;
            /*height: 100px;*/
            /*align-self: flex-start;*/
        }
    </style>
</head>
<body>
<div class="main">
    <div>1</div>
    <div>2</div>
    <div>3</div>
    <div>4</div>
    <div>5</div>
</div>
</body>
</html>
